<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition template="/page/layout/layout.xhtml" 
                xmlns="http://www.w3.org/1999/xhtml" 
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">

    <ui:define name="title">Inicio</ui:define>
    <ui:define name="content">
        <h:form id="carrusel">            
            <p:galleria style="margin: 0 auto;" value="#{inicioBean.images}" var="image2" panelWidth="500" panelHeight="313" showCaption="false">
                <p:graphicImage value="/images/carrusel/#{image2}" alt="Image Description for #{image2}" title="#{image2}"/>
            </p:galleria>            
        </h:form>        
    </ui:define>
</ui:composition>